package com.ylr.config.framework.feign.fallback;

import com.ylr.base.common.dto.NameValue;
import com.ylr.config.common.dto.enum_.EnumDto;
import com.ylr.base.common.tool.Result;
import com.ylr.config.framework.feign.YcEnumBaseClient;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-12 15:03:15
 * className: YcEnumClientFallback
 * version: 1.0
 * description:
 */
public class YcEnumClientFallback implements YcEnumBaseClient {

    @Override
    public Result<List<NameValue<String>>> getEnumList(Integer type) {
        return Result.fail();
    }

    @Override
    public Result<EnumDto> getEnum(Long id) {
        return Result.fail();
    }
}
